package healththink

class FacilityScheduleEntry{
	Date dateCreated
	Date beginDate
	Date endDate
	String entry
        UserType userType
        Facility facility
        User user
	
	static belongsTo = [User]
	
	static constraints = {
		dateCreated(blank: false)
		beginDate(blank: false)
		endDate(blank: false)
		entry(blank: false)
                userType(blank: false)
                user(blank: false)
                facility(blank: false)
	}
	
    	static mapping = {
		user lazy: false
                facility lazy: false
	}
}
